#一次性生成多个可执行文件
.PHONY:all
all:mycom otherExe

mycom:mycom.c
	gcc -o $@ $^ -std=c99

otherExe:otherExe.cc
	g++ -o $@ $^ -std=c++11
	
.PHONY:clean
clean:
	rm -rf mycom